<?php
class Supplier extends AppModel {
	var $name = "Supplier";
	var $hasMany = array(
		'Item' => array(
			'className' => 'Item',
			'order' => 'Item.created DESC'
		)
	);

	var $validate = array(
			'name' => array('rule' => 'notEmpty'), 
			'url' => array('rule' => 'notEmpty')
		);
}
?>